package com.suemi.missile.plugin.executors;

import com.suemi.missile.common.mql.query.QueryAction;
import org.elasticsearch.client.Client;
import org.elasticsearch.rest.RestChannel;

import java.util.Map;

public interface RestExecutor {
  public void execute(Client client, Map<String, String> params, QueryAction queryAction, RestChannel channel) throws Exception;

  public String execute(Client client, Map<String, String> params, QueryAction queryAction) throws Exception;
}
